#include "softZip.h"
#include "stdio.h"
#include "decompressor/zipFileDecompressor.h"
#include "Compressor/Compressor.h"

int compress(const char* sourcePath,const char* destPath,int compressionMethod)
{
    Compressor* compressor=new Compressor();
    compressor->compress(sourcePath,destPath,0);
    delete compressor;
    printf("softZip::compress(char* sourcePath,char* destPath,int compressionMethod)");
    return 0;
}

int decompress(const char* sourcePath,const char* destPath)
{
    ZipFileDecompressor* decompressor=new ZipFileDecompressor(sourcePath,destPath);
    decompressor->assembleFile();
    delete decompressor;
    printf("softZip::decompress(char* sourcePath,char* destPath)");
    return 0;
}

bool checkIntegrity(const char* sourcePath)
{
    printf("softZip::checkIntegrity(char* sourcePath)");
    return true;
}

